Web API Edition | ComponentOne
C1.Web.Api.DataEngine.Data Namespace / FlexPivotEngineProviderManager Class / AddDataSource Method / AddDataSource(String,Func<IEnumerable>) Method
The unique value used to stand for the data.
A function used to return the arbitrary IEnumerable.

In This Topic
    AddDataSource(String,Func<IEnumerable>) Method
    In This Topic
    Adds a DataSource data from an arbitrary IEnumerable.
    Syntax
    'Declaration
     
    
    Public Overloads Function AddDataSource( _
       ByVal name As String, _
       ByVal dataSourceGetter As Func(Of IEnumerable) _
    ) As FlexPivotEngineProviderManager

    Parameters

    name
    The unique value used to stand for the data.
    dataSourceGetter
    A function used to return the arbitrary IEnumerable.

    Return Value

    The flex pivot engine provider manager.
    See Also